package com.mapper;

import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.DailyDrugExpense;



@Repository
@Mapper
public interface DailyDrugexpenseMapper extends BaseMapper<DailyDrugExpense> {
    @Insert("INSERT INTO dailydrugexpense (visit_id,prescription_detail_id,a_date,daily_cost) VALUES (#{visitId},#{prescriptionDetailId},#{aDate},#{dailyCost}))")
    int insert(int visitId,int prescriptionDetailId,java.sql.Date aDate,int dailyCost);
}
